package com.xindaoapp.framework.api;

import com.xindaoapp.framework.utils.IRequest;

public interface NewApi {
	/** 商城收藏action */
	public static final String SHOP_COLLECT = "action_shop_success";
	/**删除购物车商品*/
	public static final String DELETE_CART = "action_delete_cart_success";
	
	public static final String SHOP="http://ts.leepet.com/plugins/API.v1.0/?&a=goods";
	/**商城Banner*/
	public static String SHOP_BANNER = SHOP + "&m=banner";
	/**类目一级*/
	public static String SHOP_CATEGORY_ONE = SHOP + "&m=category";
	/**新品*/
	public static String SHOP_NEW_GOODS = SHOP + "&m=newGoods";
	/**团偶*/
	public static String SHUP_TUAN = SHOP + "&m=groupBuy";
		/**新品*/
	public static String GETCARTNUMBER = SHOP + "&m=getCartNumber";	
	/**商品详情*/
	public static String GOODSDETAIL = SHOP + "&m=goodsDetail";	
	/**类目三级*/
	public static String GOODSLIST = SHOP + "&m=goodsList";
	/**添加购物车*/
	public static String ADD_TO_CART = "http://ts.leepet.com/plugins/API.v1.0/?&a=order&m=addToCart";
	/**
	 * 主页Banner
	 * @param iRequest
	 */
	public void getBanner(IRequest<String> iRequest);
	
	/**
	 * 分类左边
	 * @param iRequest
	 */
	public void getCategoryOne(IRequest<String> iRequest);
	/**
	 * 分类右边
	 * @param parentID ID
 	 * @param iRequest
	 */
	public void getCategoryTwo(String parentID,IRequest<String> iRequest);
	
	/**
	 * 新品
	 */
	public void getNewGoods(int page,int pageSize,IRequest<String> iRequest);
	/**
	 * 团购
	 */
	public void getTuan(int page,int pageSize,IRequest<String> iRequest);
	/**
	 * 类目列表
	 */
	public void getCats(int page,int pageSize,String catID,String catName,IRequest<String> iRequest);
	

}
